package com.fafu.service;

import com.fafu.model.Manager;
import com.fafu.pojo.ManagerListPojo;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.nio.CharBuffer;
import java.util.List;
import java.util.Map;

public interface UserService {
    Map<String,Object> loggin(Map<String,Object> paramMap);
    Map<String,Object> loggout(HttpServletRequest request,HttpServletResponse response);
    Map<String,Object> pwdChange(Map<String,Object>paramMap);
    Map<String,Object> getUserId(HttpServletRequest request);
    public Map<String, Object> getUserIdStr(HttpServletRequest request);
    Map<String,Object> addUser(HttpServletRequest request,Map<String,Object> paramMap);
    Map<String,Object> deleteUser(Map<String,Object> paramMap);

    Map<String,Object> getUserInfo(Integer id);

    Map<String,Object> searchManagerList(Map<String,Object> paramMap);

    Manager getUserInfoModel(Integer id);
}
